FROM harbor.bx.crpharm.com/bx/nginx

COPY dist /app/web-slb/nginx/html

RUN rm -rf /app/web-slb/nginx/conf/nginx.conf

COPY nginx.conf /app/web-slb/nginx/conf/nginx.conf

EXPOSE 80 443
CMD ["/app/web-slb/nginx/sbin/nginx", "-g", "daemon off;"]